package com.caidanxiaoyuan.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.caidanxiaoyuan.mapper.UserListMapper;
import com.caidanxiaoyuan.model.UserList;
import com.caidanxiaoyuan.service.UserListService;

@Service
public class UserListServiceImpl extends BaseServiceImpl<UserList> implements UserListService {
	
	@Autowired
	private UserListMapper userListMapper;
	
	public int update(UserList record){
		return userListMapper.update(record);
	}

	@Override
	public UserList selectByAccount(UserList record) {
		// TODO Auto-generated method stub
		return userListMapper.selectByAccount(record);
	}

	@Override
	public UserList selectByPwd(UserList record) {
		// TODO Auto-generated method stub
		return userListMapper.selectByPwd(record);
	}
}
